< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/guide/translation.xhp

(bookmark: bm_id8915372)
dialogs;translating
localizing dialogs
translating dialogs

ダイアログ;翻訳
ローカライズダイアログ
翻訳ダイアログ

(variable: translation)Translation of Controls in the Dialog Editor
(variable: translation)ダイアログエディタ内のコントロールの翻訳(hd_id3574896.)

The Language toolbar in the Basic IDE dialog editor shows controls to enable and manage localizable dialogs.
Basic IDEダイアログエディタの「言語」ツールバーには、ローカライズ可能なダイアログを有効にして管理するコントロールが表示されます。(par_id4601940.)

By default, any dialog that you create only contains string resources for one language. You may want to create dialogs that automatically show localized strings according to the user's language settings.
デフォルトでは、作成するダイアログには 1 つの言語の文字列リソースだけが含まれます。ユーザーの言語設定に合わせて、自動的にローカライズした文字列を表示するダイアログを作成できます。(par_id9538560.)

(bookmark: bm_id9421979)


(par_id6998809.)

(bookmark: bm_id1646778)


(par_id71413.)

(bookmark: bm_id1228370)


(par_id2924283.)

(bookmark: bm_id1601611)


(par_id5781731.)

(bookmark: bm_id733359)


(par_id6942045.)

(bookmark: bm_id879848)


(par_id4721823.)

(bookmark: bm_id8675191)


(par_id5806756.)

To enable localizable dialogs
ローカライズ可能なダイアログを有効にする(hd_id6596881.)

  1. In the Basic IDE dialog editor, open the Language toolbar choosing View - Toolbars - Language.
    Basic IDE ダイアログエディタで、表示 → ツールバー → 言語 を選択して、「言語」ツールバーを開きます。 (par_id8750572.)

    If the current library already contains a localizable dialog, the Language toolbar is shown automatically.
    現在のライブラリにローカライズ可能なダイアログがすでに含まれている場合は、「言語」ツールバーは自動的に表示されます。(par_id2224494.)

  2. Click the Manage Languages icon Manage Language icon on the Language toolbar or on the Toolbox bar.
    「言語」ツールバーまたは「ツールボックス」バーで 言語の管理 アイコン 言語の管理アイコン をクリックします。(par_id7359233.)

    You see the Manage User Interface Language dialog. The dialog manages languages for the current library. The name of the current library is shown on the title bar.
    「ユーザーインタフェース言語の管理」ダイアログが表示されます。このダイアログでは、現在のライブラリの言語を管理します。タイトルバーに現在のライブラリの名前が表示されます。(par_id6549272.)

  3. Click Add in the dialog to add a language entry.
    このダイアログで「追加」をクリックして、言語項目を追加します。 (par_id6529740.)

    This step enables all new dialogs to contain localizable string resources.
    この手順によって、すべての新しいダイアログにローカライズ可能な文字列のリソースを含めることができます。(par_id7811822.)

  4. The first time you click Add, you see the Set Default User Interface Language dialog. The following times you click Add, this dialog has the name Add User Interface Language.
    はじめて「追加」をクリックすると、「標準ユーザーインタフェース言語の設定」ダイアログが表示されます。次に「追加」をクリックすると、このダイアログに「ユーザーインタフェース言語の追加」が追加されています。(par_id9121982.)

    You can also change the default language in the Manage User Interface Language dialog.
    「ユーザーインタフェース言語の管理」ダイアログで標準言語を変更することもできます。(par_id3640247.)

  5. Select a language.
    言語を選択します。 (par_id3808404.)

    This adds string resources to contain the translated versions of all strings to the dialog properties. The set of dialog strings of the default language is copied to the new set of strings. Later, you can switch to the new language and then translate the strings.
    これにより、すべての文字列の翻訳されたバージョンを含む文字列リソースが、ダイアログのプロパティーに追加されます。標準言語のダイアログ文字列が新しい文字列のセットにコピーされます。あとで、新しい言語に切り替えて、文字列を翻訳することができます。(par_id4585100.)

  6. Close the dialog or add additional languages.
    ダイアログを閉じるか、または言語をさらに追加します。(par_id2394482.)

To edit localizable controls in your dialog
ダイアログ内のローカライズ可能なコントロールを編集する(hd_id631733.)

Once you have added the resources for localizable strings in your dialogs, you can select the current language from the Current Language listbox on the Language toolbar.
ダイアログ内のローカライズ可能な文字列のリソースを追加したら、「言語」ツールバーの「現在の言語」リストボックスから現在の言語を選択できます。(par_id2334665.)

  1. Switch the Current Language listbox to display the default language.
    「現在の言語」リストボックスを、標準言語を表示するように切り替えます。(par_id8956572.)

  2. Insert any number of controls to your dialog and enter all strings you want.
    任意の数のコントロールをダイアログに挿入し、必要な文字列をすべて入力します。(par_id500808.)

  3. Select another language in the Current Language listbox.
    「現在の言語」リストボックスで別の言語を選択します。(par_id8366649.)

  4. Using the control's property dialogs, edit all strings to the other language.
    コントロールの「プロパティー」ダイアログを使用して、すべての文字列をほかの言語に編集します。(par_id476393.)

  5. Repeat for all languages that you added.
    追加したすべての言語でこの手順を繰り返します。(par_id2655720.)

The user of your dialog will see the strings of the user interface language of the user's version of Office, if you did provide strings in that language.
文字列をユーザーのバージョンの Office のユーザーインタフェース言語で提供した場合、ダイアログのユーザーにはその言語で文字列が表示されます。 (par_id3682058.)

If no language matches the user's version, the user will see the default language strings.
ユーザーのバージョンと一致する言語がない場合、ユーザーには標準言語の文字列が表示されます。 (par_id5977965.)

If the user has an older version of Office that does not know localizable string resources for Basic dialogs, the user will see the default language strings.
ユーザーの Office が Basic ダイアログのローカライズ可能な文字列リソースを認識しない古いバージョンの場合、標準言語の文字列が表示されます。(par_id3050325.)

(embed text/sbasic/guide/create_dialog.xhp#create_dialog : linkinfo)

Creating a Basic Dialog
Basic ダイアログの作成(hd_id3149346.1)

(/embed text/sbasic/guide/create_dialog.xhp#create_dialog)


< Prev / Next >